package presentationTier.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.dialogs.AddMovieDialog;

/**
 *
 * @author vojta
 */
public class AddMovieCancelAction implements ActionListener{

    AddMovieDialog dialog;

    public AddMovieCancelAction(AddMovieDialog aThis) {
        dialog = aThis;
    }

    public void actionPerformed(ActionEvent e) {
        dialog.dispose();
    }

}
